package com.arm.service;


import com.arm.module.Role;
import com.arm.tools.myRunTime.MyRunTimeExcption;

import java.util.List;
import java.util.Map;

/**
 * Created by Baggio on 2017/3/12.
 */
public interface RoleService {
    List<Role> getRoleList(Map<String, String> map) throws MyRunTimeExcption;
    void modifyRole(Role role,List<Long> menuIdList) throws MyRunTimeExcption;
    void addRole(Map<String, String> map) throws MyRunTimeExcption;

    Role selectRole(Map<String, String> map) throws MyRunTimeExcption;
}
